import './assets/scss/index.scss';
import mitt, {Emitter} from 'mitt';
import {createApp} from 'vue';
import App from './App.vue';
import Config from './config';

const app = createApp(App);
const emitter: Emitter = mitt();

// app.config.globalProperties.Config = Config
app
  .provide('Config', Config)
  .provide('Emitter', emitter)
  .mount('#app');

